/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021.
 * Description: pagecache limit header
 * Author: Songtang Liu
 * Create: 2021-07-01
 */

#ifndef RTOS_PAGECACHE_LIMIT_H_
#define RTOS_PAGECACHE_LIMIT_H_

extern unsigned long try_to_free_pagecache(bool is_unmap,
					bool is_reclaim_executable_pages);

extern unsigned long try_to_free_slabcache(int priority);

#endif
